# -*- coding: utf-8 -*-

"""sdklog URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from pkg import views

urlpatterns = [
    url(r'^$', views.index, name='pkg_index'),
    url(r'^jm/(?P<client_id>\d*)/*(?P<logs>logs)*', views.jm, name='pkg_jm'),
    url(r'^game/(?P<client_id>\d+)/$', views.get_game_info,
        name='get_game_info'),
    url(r'^game/update/ext$', views.update_game_ext, name='update_game_ext'),
    url(r'^game/(?P<client_id>\d+)/add_log$', views.add_game_log,
        name='add_game_log'),
    url(r'^game/(?P<log_id>\d+)/del_log$', views.del_game_log, name='del_log'),
    url(r'^doc/', views.doc_file, name='doc_file'),
    url(r'^sdk_log/', views.get_redis_log, name='sdk_log'),
    url(r'^sub/', views.subscribe, name='subscribe'),
    url(r'^apk_info', views.get_apk_info, name='apk_info'),
    url(r'^sdk_api_report', views.sdk_api_report, name='sdk_api_report'),
    url(r'^new_user_setting',views.new_user_setting,name='new_user_setting'),
    url(r'^last_version', views.get_last_version, name='last_version'),
    url(r'^get_yd_projectid', views.get_yd_projectid, name='get_yd_projectid'),
    url(r'^get_yd_api', views.get_yd_api, name='get_yd_api'),


]
